<template>
  <div class="box">
    <div class="box-item box-i1">1</div>
    <div class="box-item box-i2">2</div>
    <div class="box-item box-i3">3</div>
  </div>
  <Row>
    <Button type="default" @click="add">操作</Button>
  </Row>
</template>
<script>
export default {
  data() {
    return {}
  },
  methods: {
    add() {
      console.log(`helloworld`)
    }
  }
}
</script>

<style lang="scss" scoped>
.box {
  width: 100px;
  height: 100px;
  border: 1px solid #000;
  display: flex;
  flex-direction: column;
  &-i1 {
    flex: 1;
  }
  &-i2 {
    flex: 1;
  }
  &-i3 {
    flex: 0;
  }
}
</style>
